A Simple Primal Algorithm for Intersecting 3-polyhedra in Linear Time
نویسنده
چکیده
This thesis presents, in full, a simple linear time algorithm for intersecting two convex 3-polyhedra P and Q. This di ers from the rst such algorithm | due to Chazelle | in that it operates entirely in primal space, whereas Chazelle's algorithm relies heavily on duality transforms. We use the hierarchical representations of polyhedra due to Dobkin and Kirkpatrick to induce a cell complexes between coarse approximations, P k and Pk of P satisfying Pk P P k, and similar approximationsQk and Qk of Q satisfying Qk Q Qk. We show that the structure of such complexes allows intersection queries to be answered e ciently. In particular, the sequence of cells intersected by a ray can be identi ed in time proportional to the length of the sequence. The algorithm operates by recursively computing the intersections: P k\Qk and Pk\Qk. Then edges of the union of approximations P \Qk and Q\P k are traversed by tracing their intersection with the two cell complexes. We show that each such edge can be traversed in constant time. In the process, most of the edges of P \Q which lie simultaneously on the boundary of P and Q will be traced. We show that the total time needed to construct those which remain is linear in the size of P and Q. Though based on the same general principles, the algorithm presented here is somewhat simpler than that described by Chazelle, which uses only the cell complexes induced by the inner hierarchical representations of P and Q. By extending Chazelle's search structure to the space exterior to the given polyhedra, we avoid having to operate simultaneously in primal and dual spaces. This permits us to conceptualise the algorithm as traversing the edges of the boundary of (P \Qk)[ (Q\P k). As a side e ect, we avoid one half of Chazelle's recursive calls, which leads to a modest improvement in the asymptotic constants.
منابع مشابه
Computing Parametric Rational Generating Functions with a Primal Barvinok Algorithm
Computations with Barvinok’s short rational generating functions are traditionally being performed in the dual space, to avoid the combinatorial complexity of inclusion–exclusion formulas for the intersecting proper faces of cones. We prove that, on the level of indicator functions of polyhedra, there is no need for using inclusion–exclusion formulas to account for boundary effects: All linear ...
متن کاملAn Optimal Algorithm for Intersecting Three-Dimensional Convex Polyhedra
This paper describes a linear-time algorithm for computing the intersection of two convex polyhedra in 3-space. Applications of this result to computing intersections, convex hulls, and Voronoi diagrams are also given.
متن کاملA Simpler Linear-Time Algorithm for Intersecting Two Convex Polyhedra in Three Dimensions
Chazelle [FOCS’89] gave a linear-time algorithm to compute the intersection of two convex polyhedra in three dimensions. We present a simpler algorithm to do the same. 1998 ACM Subject Classification F.2.2 Nonnumerical Algorithms and Problems
متن کاملAn interior-point algorithm for $P_{ast}(kappa)$-linear complementarity problem based on a new trigonometric kernel function
In this paper, an interior-point algorithm for $P_{ast}(kappa)$-Linear Complementarity Problem (LCP) based on a new parametric trigonometric kernel function is proposed. By applying strictly feasible starting point condition and using some simple analysis tools, we prove that our algorithm has $O((1+2kappa)sqrt{n} log nlogfrac{n}{epsilon})$ iteration bound for large-update methods, which coinc...
متن کاملPrimal-Dual Representations of Planar Graphs and L-Contact Representations of Optimal 1-Planar Graphs
We study contact representations of graphs in which vertices are represented by axis-aligned polyhedra in 3D and edges are realized by non-zero area common boundaries between corresponding polyhedra. We show that for every 3-connected planar graph, there exists a simultaneous representation of the graph and its dual with 3D boxes. We give a linear-time algorithm for constructing such a represen...
متن کامل